package com.lihang.system.service.impl;

import com.lihang.system.entity.Instruction;
import com.lihang.system.mapper.InstructionMapper;
import com.lihang.system.service.IInstructionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lihang
 * @since 2023-05-13
 */
@Service
public class InstructionServiceImpl extends ServiceImpl<InstructionMapper, Instruction> implements IInstructionService {
    @Autowired
    private InstructionMapper instructionMapper;
    @Override
    public List<Instruction> queryInstructionService(Integer stuId) {
        List<Instruction> instructions = instructionMapper.queryInstructionService(stuId);
        return instructions;
    }
}
